<template>
  <el-radio-group
    :value="value == null ? '' : value + ''"
    @input="$emit('input', $event)"
  >
    <el-radio v-for="item in dictList" :key="item.code" :label="item.code">{{
      item.name
    }}</el-radio>
  </el-radio-group>
</template>
<script>
export default {
  name: "FortressRadioGroup",
  props: {
    value: [Number, String],
    dictList: Array,
  },
};
</script>
